<%@ page language="java" import="org.apache.struts2.ServletActionContext" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<base href="<%=basePath%>">
	<TITLE>联络</TITLE>
	<META content="text/html; charset=utf-8" http-equiv="Content-Type">
	<LINK rel="stylesheet" type="text/css" href="common/css/css.css">
	<LINK rel="stylesheet" type="text/css" href="common/css/jquery-ui.css">
	
	<SCRIPT type="text/javascript" src="common/jquery-1.5.1.js"></SCRIPT>
	<SCRIPT type="text/javascript" src="common/js.js"></SCRIPT>
	<SCRIPT>
		$(function() {
			var b_w = $('body').width(), w_w = (b_w - 1440) / 2;
			$('#wrap').css({
				left : w_w
			});
		})
	</SCRIPT>
	<META name="GENERATOR" content="MSHTML 10.00.8102.0">
</head>
<body onresize="test()" onload="loading()">
<DIV id="loading"><IMG src="common/loading.gif"></DIV>
<DIV class="header">
<DIV class="header-main">
<DIV class="header-top">
	<UL class="menu">
		<LI><A class="aa" href="">主页</A></LI>
		<LI><A class="bb" href="javascript:void(0)">联络</A></LI>
		<LI><A class="cc" href="javascript:void(0)">文章</A></LI>
		<LI><A class="dd" href="javascript:void(0)">简历</A></LI>
		<LI><A class="ee" href="towelAction_findPage.action?pageNum=1&pageSize=21&categoryId=-1">产品</A></LI>
		<LI><A class="ff" href="javascript:void(0)">霍氏族谱</A></LI>
	</UL>
</DIV>
</DIV>
<DIV class="header-bot"></DIV>
<DIV class="show"><IMG src="common/nav-hidden.gif" width="41" height="22"></DIV>
</DIV>

<SCRIPT type="text/javascript">
	function check(){
		var name=$("input[name='name']"),email=$("input[name='email']"),content=$("textarea[name='content']");
		if(name.val()=='' || name.val()=='您的姓名'){
			alert('名字不能为空');
			return false;
			name.focus();
		}else if(email.val()=='' || email.val()=='您的邮件地址'){
			alert('邮件不能为空');
			return false;
			email.focus();
		}else if(content.val()=='' || content.val()=='邮件内容'){
			alert('内容不能为空');
			return false;
			content.focus();
		}
	}
</SCRIPT>
<div id="wrap" style="left: -44.5px;">
	<div class="contact">
		<form action="http://www.xudamingart.com/index.php/contact/sendmail"
			method="post" onsubmit="return check()">
			<table class="email" cellspacing="5">
				<tbody>
					<tr>
						<th valign="top"><img src="statcUI/contactImg/cont_name.gif">
						</th>
						<td><input class="in_text" type="text" name="name"
							title="您的姓名" value="您的姓名"
							onfocus="if(this.value=='您的姓名'){this.value='';}"
							onblur="if(this.value==''){this.value='您的姓名';}">
						</td>
					</tr>
					<tr>
						<th valign="top"><img src="statcUI/contactImg/cont_email.gif">
						</th>
						<td><input class="in_text" type="text" name="email"
							title="您的邮件地址" value="您的邮件地址"
							onfocus="if(this.value=='您的邮件地址'){this.value='';}"
							onblur="if(this.value==''){this.value='您的邮件地址';}">
						</td>
					</tr>
					<tr>
						<th valign="top"><img src="statcUI/contactImg/cont_con.gif">
						</th>
						<td valign="top"><textarea name="content" title="邮件内容"
								onfocus="if(this.value=='邮件内容'){this.value='';}"
								onblur="if(this.value==''){this.value='邮件内容';}">邮件内容</textarea>
						</td>
					</tr>
					<tr>
						<td></td>
						<td><input type="image" src="statcUI/contactImg/cont_sub.gif" value="提交">
						</td>
					</tr>
				</tbody>
			</table>
			<input type="hidden" name="__hash__" value="4d490afd8d7bca34920762a5c48a5213">
		</form>
	</div>
</div>
<DIV class="footer">
	<SPAN style="margin-top: 3px;">Copyright© 2011 XUDAMING ART.All Rights Reserved </SPAN><BR>
	<SPAN>苏ICP备11019601号-2</SPAN>
</DIV>
</body>
</html>